package com.syni.mdd.sjb.marketing.basemarket.entity.vo.responseVo.marketIndex;

import com.syni.mdd.sjb.marketing.basemarket.service.commom.CommonService;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class AllRpVo {
    private List<LateralNavigation> lateralNavigations = new ArrayList<>();
    private List<Banner> banner = new ArrayList<>();
    private List<Navigation> navigations = new ArrayList<>();
    private List<Template> templates = new ArrayList<>();
    private String title;
    private String searchKey;
    private Integer isLastPage = 1;


    @Data
    public static class LateralNavigation{
        private String title;
        private Integer searchKey;
    }

    @Data
    public static class Banner{
        private String carouselImg = "";
        private String turnUrl = "";
    }

    @Data
    public static class Navigation{
        private String iconImg;
        private String title;
        private String turnUrl = "";
    }

    @Data
    public static class Template{
        private String templateImg = "";
        private String templateName = "";
        private String templateId;
    }

    public AllRpVo initFakeData(){
        return CommonService.LUCK_DRAW_DATA.getAllRpVo();
    }
}
